package cn.stylefeng.guns.modular.recy.entity;
/*
 */

import com.baomidou.mybatisplus.extension.activerecord.*;
import java.io.*;
import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("recy_bins")
public class Bins extends Model<Bins> implements Serializable
{
    //alias
    public static final String TABLE_ALIAS = "回收箱";
    public static final String ALIAS_ID = "编号";
    public static final String ALIAS_NAME = "回收箱名称";
    public static final String ALIAS_AREA = "所在区域";
    public static final String ALIAS_ADDRESS = "详细地址";
    public static final String ALIAS_GPS_INFO = "GPS信息";
    public static final String ALIAS_STATUS = "状态";
    public static final String ALIAS_WASTE_TYPES = "可回收物类别";
    public static final String ALIAS_MANAGE_USER_ID = "维护人员";
    public static final String ALIAS_QRCODE_URL = "二维码url";
    public static final String ALIAS_QRCODE_TICKET = "二维码ticket";
    public static final String ALIAS_QRCODE_IMG = "二维码图片";
    public static final String ALIAS_CREATE_TIME = "创建时间";
    public static final String ALIAS_USE_TIME = "投放使用时间";
    public static final String ALIAS_STATUS_DESC = "状态描述";
    public static final String ALIAS_LAST_UPDATE_TIME = "最后使用时间";
    public static final String ALIAS_BANNERS="广告图片";
    public static final String ALIAS_WASTE_STATION_ID="所属回收站点";

    //date formats
    public static final String DATE_FORMAT = "yyyy-MM-dd HH:mm:ss";
    public static final String FORMAT_CREATE_TIME = DATE_FORMAT;
    public static final String FORMAT_USE_TIME = DATE_FORMAT;
    public static final String FORMAT_LAST_UPDATE_TIME = DATE_FORMAT;



//可以直接使用: @Length(max=50,message="用户名长度不能大于50")显示错误消息
//columns START
    @TableId(value = "id", type = IdType.ID_WORKER)
    private java.lang.Long id;

    @TableField("name")
    private java.lang.String name;

    @TableField("area")
    private java.lang.String area;

    @TableField("address")
    private java.lang.String address;

    @TableField("gps_info")
    private java.lang.String gpsInfo;

    //0:在线,1:离线,2:箱满,3:未激活
    @TableField("status")
    private java.lang.Long status;

    @TableField("waste_types")
    private java.lang.String wasteTypes;

    //当前总重量
    @TableField("manage_user_id")
    private java.lang.Long manageUserId;

    @TableField("qrcode_url")
    private java.lang.String qrcodeUrl;

    @TableField("qrcode_ticket")
    private java.lang.String qrcodeTicket;

    @TableField("qrcode_img")
    private java.lang.String qrcodeImg;

    @TableField("create_time")
    private java.util.Date createTime;
    
    @TableField("use_time")
    private java.util.Date useTime;

    //消杀设置
    @TableField("status_desc")
    private java.lang.String statusDesc;

    @TableField("last_update_time")
    private java.util.Date lastUpdateTime;

    @TableField("bins_mac_address")
    private java.lang.String binsMacAddress;

    @TableField("bins_no")
    private java.lang.Long binsNo;

    @TableField("admin_pwd")
    private java.lang.String adminPwd;

    @TableField("banners")
    private java.lang.String banners;

    @TableField("waste_station_id")
    private java.lang.Long wasteStationId;

//columns END







    

}
